package org.boot.easyapi.file.entity;

import lombok.Data;

import java.util.Date;

@Data
public class FileInfoDO {
    private Long id;

    private String fileName;

    private String filePath;

    private Long fileSize;

    private Date uploadTime;

    private String md5;

    private Integer status;

    private String type;

    private String fileKey;

    public FileInfoDO() {
    }

    public FileInfoDO(String fileName, String filePath, Long fileSize, String type, String fileKey) {
        this.fileName = fileName;
        this.filePath = filePath;
        this.fileSize = fileSize;
        this.type = type;
        this.fileKey = fileKey;
        this.status = 0;
    }
}